package Command;

/**
 * @author duanzhizhou
 * @date 2024/11/4
 */
public abstract class Command {
    
    protected Calculator calculator;
    protected char op;
    protected double num;
    
    public Command(Calculator calculator, char op, double num) {
        this.calculator = calculator;
        this.op = op;
        this.num = num;
    }
    
    protected abstract void Execute();
    
    protected abstract void UnExecute();

}
